package com.showgood.vo {
import flash.utils.ByteArray;
public class ManVO extends BaseVO {
public var id: int;
public var name: String;
public var role: int;
public var tong: int;
public var yong: int;
public var zhi: int;
public var status: int;
public var avatar: int;
public var story: int;
public var official: int;
public var familyName: String;
public var secondName: String;
public var thirdName: String;
public var nickName: String;
override public function get vid():int { return 6; }
override public function pack(b:ByteArray):void {
super.pack(b);
b.writeInt(this.id);
b.writeUTF(this.name);
b.writeShort(this.role);
b.writeShort(this.tong);
b.writeShort(this.yong);
b.writeShort(this.zhi);
b.writeShort(this.status);
b.writeShort(this.avatar);
b.writeShort(this.story);
b.writeShort(this.official);
b.writeUTF(this.familyName);
b.writeUTF(this.secondName);
b.writeUTF(this.thirdName);
b.writeUTF(this.nickName);
}
override public function unpack(b:ByteArray):void {
super.unpack(b);
this.id = b.readInt();
this.name = b.readUTF();
this.role = b.readShort();
this.tong = b.readShort();
this.yong = b.readShort();
this.zhi = b.readShort();
this.status = b.readShort();
this.avatar = b.readShort();
this.story = b.readShort();
this.official = b.readShort();
this.familyName = b.readUTF();
this.secondName = b.readUTF();
this.thirdName = b.readUTF();
this.nickName = b.readUTF();
}
}
}
